li = ['name1', 'name2', 'name3', 'nmae4', 21, 23, True, False]
print(li, type(li))

names = ['name1', 'name2', 'name3', 'name4', 'name5', 'name6']
# print(names[0], names[-2])
# print(names[2:5])
# print(names[:3])
# print(names[-3:])
# print(names[::2])
# print(len(names))

print('name3' in names)
print("name4" not in names)

city1 = ['ct1', 'ct2', 'ct3']
city2 = ['ct4', 'ct5', 'ct6']
print(city1 + city2)

nums = [33, 34, 65, 78]
print(nums)
nums[0] = 87
print(nums)
print(nums[3])
nums.append(45)
print(nums)
nums.append(89)
print(nums)

